home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / abacus / p_line / Templates1 / ReadMe next >
Encoding:
Text File  |  1995-01-22  |  14.1 KB  |  303 lines

  1. %OP%VS4.13 (28-Apr-92), Gerald L Fitton, R4000 5966 9904 9938 
  2. %OP%DP0
  3. %OP%IRY
  4. %OP%PL0
  5. %OP%HM0
  6. %OP%FM0
  7. %OP%BM0
  8. %OP%LM4
  9. %OP%PT1
  10. %OP%PDPipeLine
  11. %OP%WC2,1238,168,1748,0,0,0,0
  12. %CO:A,12,72%
  13. %C%Templates
  14. %C%by Gerald L Fitton
  15. %L%Keywords:
  16. %L%Choices Templates Fitton
  17.  
  18.  
  19. Introduction
  20.  
  21. You can customise the way in which PipeDream 4 operates through two 
  22. different mechanisms.  Nearly all document production packages have two 
  23. such mechanisms.  In PipeDream the first set of custom features is 
  24. available through the Choices menu (in some other packages this is 
  25. called Preferences) and these choices affect the way in which PipeDream 
  26. operates with all documents.  The second mechanism allows you to create 
  27. separate proforma for different types of documents; in PipeDream (and 
  28. Fireworkz) this second mechanism is the facility to create a large 
  29. range of Templates.
  30.  
  31. You will find an article on making your 'global' choices through the 
  32. Choices menu in the directory Choices01.  This article describes the 
  33. use of templates for 'local' choices.  I suggest that you read the 
  34. article in Choices01 before you read the article in this directory.
  35.  
  36.  
  37. Getting Started
  38.  
  39. Install PipeDream on the icon bar, place the pointer over the icon and 
  40. click the mouse menu (middle) button.  The pop-up menu which appears 
  41. has five items; one of these is New document.  Run the pointer through 
  42. New document and you'll find that you are offered a template.  You can 
  43. cycle through the set of templates using the up and down arrows.  
  44. Unless you have added to or deleted any templates you will find four 
  45. templates supplied by Colton Software; these are [Numbers], [Records], 
  46. [Text] and [Text_font].  Select the [Text] template and then click on 
  47. the OK box; that template will be loaded.
  48.  
  49.  
  50. Saving a Template
  51.  
  52. You can customise this [Text] file to your personal requirements (more 
  53. of this later).  When you have finished making changes you will want to 
  54. save the new version.  Do this by by executing <Ctrl FI>; enter a 
  55. suitable filename in the File name dialogue box and click on OK.
  56.  
  57.  
  58. The Templates Directory
  59.  
  60. To open a directory which starts with a ! (what Acorn call an 
  61. Application and what I think should be called a package) you must hold 
  62. down the <Shift> key and then double click (the select button) on the 
  63. directory you wish to open.
  64.  
  65. Open the !PipeDream directory.  In it you'll find a directory called 
  66. Templates.  Open the Templates directory and unless you have added or 
  67. deleted any templates you will find the four templates supplied by 
  68. Colton Software referred to above.  I have included their four 
  69. templates [Numbers], [Records], [Text] and [Text_font] in the 
  70. Templates1.Coltonsoft sub-directory of this disc.
  71.  
  72. To see the construction of a PipeDream file such as [Text] you need to 
  73. hold down the <Shift> key and then double click.  Because you're 
  74. holding down the <Shift> key the file will load into Edit (instead of 
  75. PipeDream) and you'll see a document containing perhaps a couple of 
  76. dozen rows each starting with a %PC% character.
  77.  
  78. Unless you want to do something very special you probably don't need to 
  79. know what these cryptic %PC% so called 'constructs' mean.  If you do need 
  80. to know then you can do some research by looking at the section headed 
  81. PipeDream File Format which starts on page 197 of the PipeDream 4 
  82. Reference Guide.  Pages 199 to 201 contain a brief description of each 
  83. of the %PC% constructs.
  84.  
  85. What you will not see amongst the %PC%OP%PC% constructs are those which 
  86. derive from the Choices menu.  The Choices menu is called up by 
  87. clicking the mouse menu (middle) button over the installed (on the icon 
  88. bar) PipeDream icon as described in the Choices01 directory.  These 
  89. 'global' choices include options such as 'spell check as you type' 
  90. (shown as Auto check in the Choices menu).  The %PC%OP%PC% constructs for 
  91. these global choices are found only in the [!PipeDream.Choices] file.
  92.  
  93. Generally you will not need to study the %PC%OP%PC% constructs nor will you 
  94. need to load a template file directly into PipeDream from the 
  95. !PipeDream.Templates directory.  The usual method of loading a template 
  96. is from the New document option on the PipeDream menu called up from 
  97. the icon bar as described above in the section Getting Started.  The 
  98. usual method of saving a template is through the <Ctrl FI> command.
  99.  
  100.  
  101. A Template for Text
  102.  
  103. In the sub-directory Templates01.Gerald I have included my four 
  104. favourite templates.  These are [Data], [ReadMe], [Sheet] and [Words].  
  105. I use the file [Words] as my template for plain text and the [ReadMe] 
  106. file for the [ReadMe] files on the PipeLine disc (the <Ctrl W> width of 
  107. column A has been changed recently from 72 to 12 characters - this 
  108. change has not filtered through to all the [ReadMe files on this disc).
  109.  
  110. Load [Words] and then execute the command <Ctrl O>.  The new slot 
  111. format is Text as you might expect.  I like to have Insert on return 
  112. ON.  I do this because I do like my paragraphs to reformat when I 
  113. delete a character or delete a word (with <F10>).  Many people don't 
  114. like this option because they find that blocks of text reformat when 
  115. they don't want it to.  Let me explain.  Here are two (identical?) 
  116. examples of a pair of lines which you don't want to reformat:
  117.  
  118. Gerald L Fitton
  119. Abacus Training
  120.  
  121. %L%Gerald L Fitton
  122. %L%Abacus Training
  123.  
  124. Place the caret anywhere in the first Gerald and tap the <Space> bar 
  125. followed by the <Delete> button.  You will finish up with:
  126.  
  127. Gerald L Fitton Abacus Training
  128.  
  129. This is almost certainly what you don't want to happen!
  130.  
  131. Now repeat the exercise with the second Gerald.  The text does not 
  132. reformat.  It does not reformat because I have applied <Ctrl LAL> 
  133. (Layout Align Left) to the two lines.  If you forget to use <Ctrl LAL> 
  134. on such lines then, sooner or later, you'll reformat a block that you 
  135. don't want reformatting.
  136.  
  137. I have Wrap turned ON so that, when I get to the end of a line, the 
  138. text will wrap around onto the next line.
  139.  
  140. If you have more than one column then you can choose what happens to 
  141. the other columns when the text wraps.  The choice is that an extra row 
  142. is inserted into all columns or that an extra row is inserted only in 
  143. the column containing the text you are in the process of typing.
  144.  
  145. Load the file [TestFile1].  Place the cursor at the end of the text in 
  146. slot A1 and type "another word".  The new text in A1 spills over and 
  147. wraps forcing the text in A4 to move down a row.  However, the text in 
  148. B4 remains in B4.  A new row has been inserted but only in the column 
  149. into which the text is being typed.  This is because the <Ctrl O> 
  150. Insert on wrap option has been set to Column.  Delete this text using 
  151. the <Delete> key and you'll find that the extra row (in column A) is 
  152. deleted but column B is not affected.
  153.  
  154. Now execute <Ctrl O> and change the Insert on wrap to Row (instead of 
  155. Column).  Repeat the exercise of typing in "another word".  This time 
  156. you'll see that the whole of row 4 is moved down (to row 5) when the 
  157. text wraps.  Delete this text and you'll find that you can regain the 
  158. original layout.
  159.  
  160. I hope that I have not laboured the above explanation too greatly.  My 
  161. only excuse is that I do get quite a lot of correspondence from people 
  162. who have never really mastered the way in which the Insert on wrap 
  163. operates.  Just as a 'by the way', I can't find a similar option in 
  164. Fireworkz probably because, in Fireworkz, it was deemed that the multi 
  165. line paragraph feature makes such an option redundant.
  166.  
  167.  
  168. A Database Template
  169.  
  170. The file [TestFile2] has the options set to the same values as those of 
  171. the template [Data].  If you add "another word' to A1 then the words do 
  172. not wrap around, they remain in slot A1.  Execute <Ctrl O> and you will 
  173. find that both Wrap and Insert on return are switched OFF.
  174.  
  175. The New slot format is Text because it is usual to enter text (rather 
  176. than numbers) into a database.
  177.  
  178. Any slot can be converted from a text slot to a number slot by tapping 
  179. <F2>.  I have entered a 2 in B1 and B2.  The 2 in these slots are 
  180. characters and not numbers.  In B3 I have entered the formula B1+B2.
  181.  
  182. You can convert any of these characters to numbers by placing the 
  183. cursor in the slot (say B1) tapping <F2> followed by <Return>.  If you 
  184. want to convert all three slots then drag the pointer from B1 to B3 so 
  185. that the three slots are highlighted.  Now execute <Ctrl BNT> (Block 
  186. Number to Text - or the reverse) and you will find that 2 and 2 make 4!  
  187. Another 'by the way' is that, as a hangover from PipeDream 3, an 
  188. alternative undocumented command is <Ctrl ENT> (Edit Number to Text - 
  189. or the reverse).  The command <Ctrl ENT> is identical in its effect to 
  190. the command <Ctrl BNT>.
  191.  
  192. I prefer the grid lines ON but many prefer them OFF, particularly since 
  193. the grid lines are printed if you use RISC OS printer drivers (but not 
  194. if you use PipeDream printer drivers).
  195.  
  196.  
  197. A Spreadsheet Template
  198.  
  199. The only difference between my [Data] template and my [Sheet] template 
  200. is that the New slot format is Numbers instead of Text.  As you will 
  201. have seen demonstrated in the previous section, you can change any slot 
  202. retrospectively from a Text to a Number slot (of course, you can also 
  203. do the reverse operation).
  204.  
  205. If you type text into a number slot then, provided PipeDream can 
  206. recognise it as text, there is no problem.  Load [TestFile3].  It has 
  207. the same options as my template [Sheet].  Type Hello World followed by 
  208. <Return> into slot A2.  As you type you'll find the words appear in the 
  209. formula line; when you tap <Return> the words drop into slot A2.
  210.  
  211. Now try Start-Finish (the hyphen is intended to mean start to finish) 
  212. in slot A3 and you'll get the error message Name not defined.  What has 
  213. happened is that PipeDream has 'recognised' this text as a formula.  
  214. The formula is interpreted as a subtraction sum in which finish (note 
  215. the conversion from upper to lower case in the formula line) is 
  216. subtracted from start.  Start and finish are 'recognised' as PipeDream 
  217. Names and, since they have not been defined, PipeDream doesn't know 
  218. their values.
  219.  
  220. There are many ways around this little problem.  The method I prefer 
  221. (if I remember in time) is to type just one word, tap <Return> and then 
  222. continue typing in the rest of the text.  If it's too late then I use 
  223. <Ctrl BNT> and then change any (incorrectly portrayed) lower case 
  224. letters to upper case.
  225.  
  226. Another 'by the way' is that if you change the option for New slot 
  227. format from Text to Numbers then it affects only new slots.  You can 
  228. not use it to change the nature of slots retrospectively (use 
  229. <Ctrl BNT> to execute retrospective changes).
  230.  
  231. If I've got a lot of text - or a lot of numbers (or formulae) - then I 
  232. use a couple of command files, [Data_Sheet] and [Sheet_Data], to change 
  233. the options between Text and Numbers.  I've included these command 
  234. files in the Templates01.Gerald directory.
  235.  
  236.  
  237. Printing Options
  238.  
  239. In addition to all the <Ctrl O> options there are many other choices 
  240. saved with the file.  These include both the <Ctrl H> and <Ctrl W> 
  241. options which determine the column structure, the position the window 
  242. appears on the screen and even the position of the cursor within the 
  243. document.  I find that the fact that printing options are saved with 
  244. the file most useful but, if you choose printing options which are 
  245. inappropriate, then they can cause you a lot of grief - particularly if 
  246. you don't know what's going on!
  247.  
  248. The menus accessed through <Crtl PO>, <Ctrl PY> and <Ctrl PD> contain 
  249. many options, all of which are saved with the file.
  250.  
  251. The order in which I set these up is <Ctrl PD> to choose Parallel (in 
  252. order to use PipeDream printer drivers) and my preferred PipeDream 
  253. printer driver.
  254.  
  255. Then I choose my <Ctrl PY> (page layout) options.  Because I use the 
  256. system font and PipeDream printer drivers I set the page length to 
  257. zero.  A setting of zero allows the printer to load a new sheet of 
  258. paper whenever it thinks it has run out.  The alternative is that an 
  259. unsuitably long page length might be forced on the 'system' causing 
  260. unwanted form feeds.  Another 'by the way'.  If you choose RISC OS 
  261. printer drivers and you set the Auto Line height option ON from the 
  262. <Ctrl PFG> menu then you will find that you can't force your page 
  263. length from the <Ctrl PY> menu.  You may think you have but, when you 
  264. Save, delete from screen and then Load your file (or just try to print 
  265. it) you will find that the page length will have been set automatically 
  266. - PipeDream has read the page length of the paper size contained in the
  267. selected Printer (the one on the icon bar).
  268.  
  269. Finally I set my <Ctrl PO> options.  These include the default number 
  270. of copies.  I usually set this at 1 copy.  If you are using the 
  271. PipeDream printer drivers and need more than one copy then it is fairly 
  272. easy to tap the <Print> button (followed by <Return>) more than once.  
  273. If you are using RISC OS printing then you might like to use the method 
  274. I describe in the directory Printing01.  Essentially this is to 
  275. (RISC OS) print one copy to a file and then drag the Printout file to 
  276. the Printer icon (on the icon bar) as many times as is necessary.  In 
  277. either case I find that one copy is what I need as my <Ctrl PO> choice 
  278. (saved with the file or template).
  279.  
  280. Another (possibly the last) 'by the way'.  If you have selected RISC OS 
  281. printing (rather than Parallel) then, when you Print to File from the 
  282. <Ctrl PO> menu, you will not be using the Text printing options of the 
  283. RISC OS printer driver but those of your selected PipeDream printer 
  284. driver (eg the HPJet printer driver).  It is this 'feature' of 
  285. PipeDream (giving the file destination a higher priority than the type 
  286. of printer driver used) which causes some of the more recent Turbo 
  287. drivers to fail when used for text printing from PipeDream.
  288.  
  289.  
  290. In Conclusion
  291.  
  292. In the Choices01 directory I describe those 'global' choices which 
  293. apply to all documents.  In this directory I have explained what is 
  294. involved in setting up and saving a template file containing 'local' 
  295. options.  Both sets of choices have their place.
  296.  
  297. If I have missed something then please let me know and I'll mention it 
  298. on the next PipeLine disc.  If you believe that it would be useful to 
  299. explain in more depth any particular choice for a template file or, if 
  300. you have trouble creating a template to your special requirements, then 
  301. please let me know and please include a copy of your template (or your 
  302. attempt at creating your special template).
  303.